package com.tj.collection.controller.admin.response;

import com.fqgj.common.api.ResponseData;
import com.fqgj.common.utils.CollectionUtils;

import java.util.ArrayList;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/3/14
 * Time: 下午3:56
 */

public class AdminRoleIdsResponse implements ResponseData {
    private List<String> list = new ArrayList<>();

    public AdminRoleIdsResponse(List<Long> roleIds) {
        if (CollectionUtils.isEmpty(roleIds)) {
            return;
        }

        for (Long roleId : roleIds) {
            list.add(roleId + "");
        }

    }
}
